@import url("https://fonts.googleapis.com/css?family=Varela+Round");

html {
    box-sizing: border-box;
}

/*导航栏*/
*,
*:before,
*:after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
    letter-spacing: 1.1px;
}

body nav {
    width: 100%;
    height: 100%;
    background: #ffe7e9;
    font-family: "Varela Round", sans-serif;
}

body {
    background-color: white;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 850px;
    margin: 0 auto;
    height: 90px;
    list-style: none;
}

.menu li {
    width: 125px;
    height: 50px;
    transition: background-position-x 1s linear;
    text-align: center;
}

.menu li a {
    font-size: 22px;
    color: #777;
    text-decoration: none;
    transition: all 1s;
}

.menu li:hover {
    background: url("");
    -webkit-animation: line 1s;
    animation: line 1s;
}

.menu li:hover a {
    color: #d94f5c;
}

.menu li:not(:last-child) {
    margin-right: 30px;
}

@-webkit-keyframes line {
    0% {
        background-position-x: 390px;
    }
}

@keyframes line {
    0% {
        background-position-x: 390px;
    }
}

#search_div {
    width: 100%;
    font-family: Roboto, sans-serif;
    margin: 10px 10px 10px 0;
    height: 50px;
    place-items: center;
    font-size: 4px;
}

.c-checkbox {
    display: none;
}

.c-checkbox:checked + .c-formContainer .c-form {
    width: 37.5em;
}

.c-checkbox:checked + .c-formContainer .c-form__toggle {
    visibility: hidden;
    opacity: 0;
    transform: scale(0.7);
}

.c-checkbox:checked + .c-formContainer .c-form__input,
.c-checkbox:checked + .c-formContainer .c-form__buttonLabel {
    transition: 0.2s 0.1s;
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.c-checkbox:not(:checked) + .c-formContainer .c-form__input:required:valid ~ .c-form__toggle::before, .c-checkbox:checked + .c-formContainer .c-form__input:required:valid ~ .c-form__toggle::before {
    content: "Thank You! 😊";
}

.c-checkbox:not(:checked) + .c-formContainer .c-form__input:required:valid ~ .c-form__toggle {
    pointer-events: none;
    cursor: default;
}

.c-formContainer,
.c-form,
.c-form__toggle {
    width: 38em;
    height: 6.25em;
}

.c-formContainer {
    position: relative;
    font-weight: 700;
}

.c-form,
.c-form__toggle {
    position: absolute;
    border-radius: 6.25em;
    background-color: #ffffff;
    transition: 0.2s;
}

.c-form {
    left: 50%;
    transform: translateX(-50%);
    padding: 0.625em;
    box-sizing: border-box;
    box-shadow: 0 0.125em 0.3125em rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
}

.c-form__toggle {
    color: #ff7b73;
    top: 0;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-form__toggle::before {
    font-size: 1.75em;
    content: attr(data-title);
}

.c-form__input,
.c-form__button {
    font: inherit;
    border: 0;
    outline: 0;
    border-radius: 5em;
    box-sizing: border-box;
}

.c-form__input,
.c-form__buttonLabel {
    font-size: 1.75em;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.7);
    transition: 0s;
}

.c-form__input {
    color: #ffcccc;
    height: 100%;
    width: 100%;
    padding: 0 0.714em;
}

.c-form__input::placeholder {
    color: currentColor;
}

.c-form__input:required:valid {
    color: #ff7b73;
}

.c-form__input:required:valid + .c-form__buttonLabel {
    color: #ffffff;
}

.c-form__input:required:valid + .c-form__buttonLabel::before {
    pointer-events: initial;
}

.c-form__buttonLabel {
    color: #ffaea9;
    height: 100%;
    width: auto;
}

.c-form__buttonLabel::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    cursor: pointer;
}

.c-form__button {
    color: inherit;
    padding: 0;
    height: 100%;
    width: 5em;
    background-color: #ff7b73;
}

/**/
.cebiankuang ul li {
    margin: 0 0 20px 0;
}

.col-md-3,
ul,
li,
a {
    font-size: 30px;
}

:root {
    --grey-color: #7f8c8d;
}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
}

.menu-hover-fill li {
    position: relative;
}

.menu-hover-fill li::before {
    position: absolute;
    content: "";
    top: 0;
    left: -1rem;
    width: 0.25rem;
    height: 100%;
    background: var(--menu-link-active-color);
    transition: 0.6s;
}

.menu-hover-fill li a {
    --menu-link-color: var(--grey-color);
    position: relative;
    background: linear-gradient(var(--menu-link-active-color) 0 100%) left/0 no-repeat;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-size 0.45s 0.04s;
}

.menu-hover-fill li a::before {
    position: absolute;
    content: attr(data-text);
    z-index: -1;
    color: var(--menu-link-color);
}

.menu-hover-fill li:nth-child(1) {
    --menu-link-active-color: var(--primary-color);
}

.menu-hover-fill li:nth-child(2) {
    --menu-link-active-color: var(--info-color);
}

.menu-hover-fill li:nth-child(3) {
    --menu-link-active-color: var(--success-color);
}

.menu-hover-fill li:nth-child(4) {
    --menu-link-active-color: var(--warning-color);
}

.menu-hover-fill li:nth-child(5) {
    --menu-link-active-color: var(--danger-color);
}

.menu-hover-fill li:hover::before {
    left: calc(100% + 1rem);
}

.menu-hover-fill li:hover a {
    background-size: 100%;
}





/*帖子*/
.post-list > .post-item {
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid #f6f6f6;
    margin-top: 16px;
    overflow-wrap: break-word;
}

.post-list > .post-item > .post-item-body > .post-item-text > .post-item-title:link {
    color: #005da6;
}

.post-list > .post-item > .post-item-body > .post-item-text > .post-item-title {
    font-weight: bold;
    line-height: 25px;
    outline: none;
}

.post-list > .post-item > .post-item-body > .post-item-text > .post-item-summary {
    display: block;
    color: #555;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-overflow: clip;
}

.post-list > .post-item > .post-item-body > .post-item-text > *:not(:first-child) {
    margin-top: 10px;
}

.post-item .avatar {
    border-radius: 0;
    padding: 1px;
    border: 1px solid #ccc;
    float: left;
    margin-right: 5px;
    margin-top: 3px;
}

.post-list > .post-item > .post-item-body > .post-item-foot {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #555;
}

.post-list > .post-item > .post-item-body > .post-item-foot > * {
    margin-right: 16px;
    vertical-align: middle;
}

.post-list > .post-item > .post-item-body > .post-item-foot > .post-meta-item {
    display: inline-flex;
    fill: #bdbdbd;
    stroke: #bdbdbd;
    height: 20px;
    white-space: nowrap;
    align-items: center;
}

.resize {
    font-size: 20px;
}



form .comment-content.open {
    height: 88px;
    background-color: #fff;
    box-shadow: 0 0 6px 0 #5094d5;
    border: 1px solid #5094d5;
}

form .comment-content {
    display: block;
    width: 100%;
    padding: 6px 8px;
    background: rgba(248, 249, 251, 0.8);
    border: 1px solid #dadde0;
    border-radius: 4px;
    resize: none;
    height: 36px;
    font-size: 14px;
    line-height: 22px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: height .3s ease-in-out;
    transition: height .3s ease-in-out;
    font-family: "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}


.btn-comment {
    float: right;
    margin-top: 10px;
}


